Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Graphics /
Chapter 2 - Geometric Shapes / Geometric Shapes Reference
Data Types


The Line Structure

You use the gxLine structure to specify the geometry of a line shape.

The gxLine structure is defined as follows:

struct gxLine {
   struct gxPoint first;
   struct gxPoint last;
};
Field Description
first
The coordinate position where the line begins.
last
The coordinate position where the line ends.
Notice that the endpoints of a line are ordered--lines have an implicit direction. This direction can affect how QuickDraw GX draws a line shape, particularly when the line shape has stylistic variations.

For more information about lines and line shapes, see "Line Shapes" on page 2-17.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help